package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
public class StudentState {
    private Long id;

    private Officialstu student;//学员

    private BigDecimal totalAmount;//总金额

    private BigDecimal nonePay;//未付金额

    private BigDecimal hasPay;//已付金额

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date time;//升班留学时间

    private String tel;//联系电话

    private SystemDictionaryBill oldGrade;//以前的班级

    private SystemDictionaryBill newGrade;//现在的班级

    private Employee payee;//营销人员

    private int state;//状态

}